package com.asset.dao;


import com.asset.entity.Product;
import com.asset.entity.Purchase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurchaseDao {

    //购置表展示
    List<Purchase> purchaseList();


    //添加购置表
    void addPurchase(Purchase purchase);

    //查询
    Purchase getById(@Param("id") String id);
}
